package com.ruoyi.modules.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆单车核准证对象 t_vehicle_company_certificate
 * 
 * @author ssh
 * @date 2024-12-15
 */
public class VehicleCompanyCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 关联账号userId */
    @Excel(name = "关联账号userId")
    private String userId;

    /** 运输公司运输核准证ID */
    @Excel(name = "运输公司运输核准证ID")
    private String tranCompanyCertificateId;

    /** 工地（外键） */
    @Excel(name = "工地", readConverterExp = "外=键")
    private String constructionSiteId;

    /** 土场（外键） */
    @Excel(name = "土场", readConverterExp = "外=键")
    private String soilFieldId;

    /** 线路（外键），支持多条线路 */
    @Excel(name = "线路", readConverterExp = "外=键")
    private String lineId;

    /** 车辆360视频资料ID */
    @Excel(name = "车辆360视频资料ID")
    private String vechicle360VideoId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 证书链接地址 */
    @Excel(name = "证书链接地址")
    private String certUrl;

    /** 数据状态（作为逻辑删除，0为正常-1为删除） */
    @Excel(name = "数据状态", readConverterExp = "作=为逻辑删除，0为正常-1为删除")
    private Long status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTranCompanyCertificateId(String tranCompanyCertificateId) 
    {
        this.tranCompanyCertificateId = tranCompanyCertificateId;
    }

    public String getTranCompanyCertificateId() 
    {
        return tranCompanyCertificateId;
    }
    public void setConstructionSiteId(String constructionSiteId) 
    {
        this.constructionSiteId = constructionSiteId;
    }

    public String getConstructionSiteId() 
    {
        return constructionSiteId;
    }
    public void setSoilFieldId(String soilFieldId) 
    {
        this.soilFieldId = soilFieldId;
    }

    public String getSoilFieldId() 
    {
        return soilFieldId;
    }
    public void setLineId(String lineId) 
    {
        this.lineId = lineId;
    }

    public String getLineId() 
    {
        return lineId;
    }
    public void setVechicle360VideoId(String vechicle360VideoId) 
    {
        this.vechicle360VideoId = vechicle360VideoId;
    }

    public String getVechicle360VideoId() 
    {
        return vechicle360VideoId;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCertUrl(String certUrl) 
    {
        this.certUrl = certUrl;
    }

    public String getCertUrl() 
    {
        return certUrl;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("tranCompanyCertificateId", getTranCompanyCertificateId())
            .append("constructionSiteId", getConstructionSiteId())
            .append("soilFieldId", getSoilFieldId())
            .append("lineId", getLineId())
            .append("vechicle360VideoId", getVechicle360VideoId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("certUrl", getCertUrl())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
